package com.liuyun.sunadmin.service;

import com.liuyun.sunadmin.pojo.AdminUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liuyun.sunadmin.query.AdminQuery;

import java.util.Map;

/**
 * <p>
 * 超管用户记录表 服务类
 * </p>
 *
 * @author 老傅xsx
 * @since 2021-09-14
 */
public interface IAdminUserService extends IService<AdminUser> {
    AdminUser findUserByUserName(String userName);
    void login(AdminUser user);


    Map<String, Object> adminList(AdminQuery adminQuery);

}
